package com.zhangye.test.model;

import java.util.Date;

public class Account {
    /**
     * 主键
     */
    private Integer id;

    /**
     * 用户ID
     */
    private Integer userid;

    /**
     * 插入时间
     */
    private Date inserttime;

    /**
     * 账户余额
     */
    private Double balance;

    /**
     * 账户变动
     */
    private String variation;

    /**
     * 更新时间
     */
    private Date updatetime;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column account.id
     *
     * @return the value of account.id
     *
     * @mbggenerated Wed Jun 06 14:54:00 CST 2018
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column account.id
     *
     * @param id the value for account.id
     *
     * @mbggenerated Wed Jun 06 14:54:00 CST 2018
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column account.userId
     *
     * @return the value of account.userId
     *
     * @mbggenerated Wed Jun 06 14:54:00 CST 2018
     */
    public Integer getUserid() {
        return userid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column account.userId
     *
     * @param userid the value for account.userId
     *
     * @mbggenerated Wed Jun 06 14:54:00 CST 2018
     */
    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column account.insertTime
     *
     * @return the value of account.insertTime
     *
     * @mbggenerated Wed Jun 06 14:54:00 CST 2018
     */
    public Date getInserttime() {
        return inserttime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column account.insertTime
     *
     * @param inserttime the value for account.insertTime
     *
     * @mbggenerated Wed Jun 06 14:54:00 CST 2018
     */
    public void setInserttime(Date inserttime) {
        this.inserttime = inserttime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column account.balance
     *
     * @return the value of account.balance
     *
     * @mbggenerated Wed Jun 06 14:54:00 CST 2018
     */
    public Double getBalance() {
        return balance;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column account.balance
     *
     * @param balance the value for account.balance
     *
     * @mbggenerated Wed Jun 06 14:54:00 CST 2018
     */
    public void setBalance(Double balance) {
        this.balance = balance;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column account.variation
     *
     * @return the value of account.variation
     *
     * @mbggenerated Wed Jun 06 14:54:00 CST 2018
     */
    public String getVariation() {
        return variation;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column account.variation
     *
     * @param variation the value for account.variation
     *
     * @mbggenerated Wed Jun 06 14:54:00 CST 2018
     */
    public void setVariation(String variation) {
        this.variation = variation == null ? null : variation.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column account.updateTime
     *
     * @return the value of account.updateTime
     *
     * @mbggenerated Wed Jun 06 14:54:00 CST 2018
     */
    public Date getUpdatetime() {
        return updatetime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column account.updateTime
     *
     * @param updatetime the value for account.updateTime
     *
     * @mbggenerated Wed Jun 06 14:54:00 CST 2018
     */
    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
}